<?php
        global $wp_query;
        $temp = $wp_query;  // re-sets query
        $args = array(
            'post_type' => array('information'),
            'orderby' => 'date',
            'order' => 'DESC',
             'posts_per_page' => -1, 
            'post_status' => 'publish',
        );
        $latestNewsList=array();
        $custom_query = new WP_Query($args);
        while ($custom_query->have_posts()) : $custom_query->the_post();
            $latest_news_activate = esc_attr(get_post_meta(get_the_ID(), 'latest_news_activate', true));
                    $latest_news_message = esc_attr(get_post_meta(get_the_ID(), 'latest_news_message', true));
                    if($latest_news_activate==1){
                        $latestNewsList[]= '<li><a href="' . get_permalink() . '">'.$latest_news_message . '</a></li>';
                    }
        endwhile;
        $wp_query = $temp;  // re-sets query
        ?>
<?php if(count($latestNewsList)>0){?>
<section class="latestNews newsWrapper">
    <h1>Latest News</h1>
    <ul class="newsSlider">
        <?php echo implode('', $latestNewsList);?>
    </ul>
    <div class="clear"></div>
</section>
<?php }?>